package com.hobobe.tailor.common.datasource;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

public class CustomerRoutingDataSource extends AbstractRoutingDataSource {

	@Override
	protected DataSourceType determineCurrentLookupKey() {
		return CustomerContextHolder.getCustomerType();
	}

}
